﻿namespace Text2Rss.Tests.Helpers
{
	using System.IO;
	using Text2Rss.Web.Models;
	using Text2Rss.Web.Services;

	public class TestFieStorage : IFileStorage
	{
		public Stream OpenFile(SourceFile file)
		{
			return this.GetType().Assembly.GetManifestResourceStream("Text2Rss.Tests.Data." + file.Author + ".txt");
		}

		public void SaveFile(SourceFile file, Stream stream)
		{
			throw new System.NotImplementedException();
		}
	}
}
